package com.CST.service.impl.cb;

import com.CST.dto.cb.InSourceDTO;
import com.CST.entity.cb.EtlOutpatientIncome;
import com.CST.mapper.cst.cb.EtlOutpatientIncomeMapper;
import com.CST.service.cb.IEtlOutpatientIncomeService;
import com.CST.vo.cb.InSourceVO;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ly
 * @since 2022-08-29
 */
@Service
public class EtlOutpatientIncomeServiceImpl extends ServiceImpl<EtlOutpatientIncomeMapper, EtlOutpatientIncome> implements IEtlOutpatientIncomeService {


    @Autowired
    private EtlOutpatientIncomeMapper OutpatientIncomeMapper;
    @Override
    public List<InSourceVO> getOutpatientList(@RequestBody InSourceDTO entity) {
         List<InSourceVO> OutpatientIncomeList =OutpatientIncomeMapper.getOutpatientList(entity);
         return OutpatientIncomeList;
    }
}
